import jdk.jshell.ImportSnippet;

import java.io.*;

public class Demo10 {
    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream = new FileOutputStream("./text",true);){
            byte[] buffer = new byte[] {(byte)0xe4,(byte)0xbd,(byte)0xa0,(byte)0xe5,(byte)0xa5,(byte)0xbd};
            outputStream.write(buffer);
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
